#include<stdio.h>

int main(){
    int id = 0;
    float C_score = 0.0f;
    float M_score = 0.0f;
    float E_score = 0.0f;
    scanf("%d;%f,%f,%f",&id,&C_score,&M_score,&E_score);
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.\n",id,C_score,M_score,E_score);
    return 0;
}